<?php
/**
 * Subactegoryadmin_Data_Subcategoryredirect
 * sub category redirect
 * @author Adrian Stolarski
 */
class Subcategoryadmin_Data_Subcategoryredirect implements Subcategoryadmin_Data_Mainable {
    
    /**
     * main()
     * redirect sub category list action
     * 
     * @param array $variables
     */
    public function main(array $variables = null) {
        echo '<meta http-equiv="Refresh" content="0;url='.SUB_CATEGORY_LIST_LINK.'">';
    }

}
